import 'package:flutter_app/generated/json/base/json_field.dart';
import 'package:flutter_app/generated/json/article_entity.g.dart';


@JsonSerializable()
class ArticleEntity {

	ArticleEntity();

	factory ArticleEntity.fromJson(Map<String, dynamic> json) => $ArticleEntityFromJson(json);

	Map<String, dynamic> toJson() => $ArticleEntityToJson(this);

	String? articleType;
	String? content;
	String? contentType;
	String? contentTypeName;
	String? createBy;
	String? createByName;
	String? createTime;
	List<ArticleFileList>? fileList;
	String? id;
	String? isRotation;
	String? isTop;
	String? publishBy;
	String? publishByName;
	String? publishTime;
	String? source;
	String? state;
	String? summary;
	String? title;
	String? updateBy;
	String? updateByName;
	String? updateTime;
}


@JsonSerializable()
class ArticleFileList {

	ArticleFileList();

	factory ArticleFileList.fromJson(Map<String, dynamic> json) => $ArticleFileListFromJson(json);

	Map<String, dynamic> toJson() => $ArticleFileListToJson(this);

	String? createTime;
	String? duration;
	String? fileSize;
	String? fileType;
	String? id;
	String? isRead;
	String? name;
	String? relationId;
	String? sourcePath;
	String? thumbnailPath;
}

